Optical disk device and replacement processing method

ABSTRACT

In this invention, in an optical disk on which data is to be recorded in units of one ECC block constructed by 16 sectors, dummy data is recorded at the manufacturing time or at the initial time such as the application starting time, then the dummy data is reproduced to determine a sector with primary defect, the physical address data of the sector which is determined to have the primary defect is recorded in the form of a primary defect list on the optical disk, and at the time of data recording, data recording is effected in units of one ECC block while skipping over the sector with the primary defect. Further, in the optical disk on which data is to be recorded in units of one ECC block, data is recorded at the time of data recording other than the initial time, then the data is reproduced to determine an ECC block having a sector with secondary defect, and data of the ECC block which is determined to have the sector with secondary defect is recorded in an ECC block which is separately prepared. The physical address data of the first sector of the ECC block having the defective sector and the physical address data of the first sector of the replacement ECC block are recorded in the form of a secondary defect list. Further, in the optical disk on which data is to be recorded in units of one ECC block constructed by 16 sectors, dummy data is recorded at the manufacturing time or at the initial time such as the application starting time, then the dummy data is reproduced to determine a sector with primary defect, the physical address data of the sector which is determined to have the primary defect is recorded on the optical disk, data recording is effected in units of one ECC block while skipping over the sector with the primary defect at the time of data recording, data is recorded at the data recording time other than the initial time, the data is reproduced to determine an ECC block having a sector with secondary defect, and data for the ECC block which is determined to have the sector with secondary defect is recorded in an ECC block which is separately prepared.

This is a division of application Ser. No. 08/822,712, filed Mar. 24,1997, now U.S. Pat. No. 5,841,748.

BACKGROUND OF THE INVENTION

This invention relates to a recording and reproducing device forrecording data on an optical disk and reproducing data recorded on theoptical disk, a recording device exclusively used for recording data onan optical disk, a reproducing device exclusively used for reproducingdata recorded on the optical disk, and a replacement processing methodfor effecting the replacement process for a defect area or defect areasin the optical disk device.

Conventionally, an optical disk device for recording data on an opticaldisk having recording tracks or reproducing data recorded on the opticaldisk uses laser light emitted from a semiconductor laser oscillatormounted on an optical head.

With the above optical disk device, data is recorded on the optical diskin units of one ECC block, each block being constructed by a pluralityof sectors.

In this case, an optical disk device is proposed in which whether or notdata is correctly recorded in units of one sector is determined at themanufacturing time or at the initial time such as the applicationstarting time, and if a sector with a defect is detected by the abovedetermination process, the ECC block containing the sector is classifiedas a defective block and is treated as an unusable block.

Therefore, when successive data items such as speeches or movingpictures are recorded and if an ECC block (defective block) which isunusable is present, a slip replacement process for recording data on anext ECC block after skipping over the defective ECC block is effected.That is, the data recording operation is interrupted for a period oftime corresponding to one ECC block.

Thus, the conventional optical disk device has a problem that thereproducing operation is interrupted for a period of time correspondingto one defective ECC block, for example, when successive data items suchas speeches or moving pictures are reproduced.

Further, the conventional device has a process for determining whetheror not data has been correctly recorded for each sector at the recordingtime after the initial time, dealing with a defective sector as anunusable sector if the defective sector is detected by the abovedetermining process and recording data using a sector prepared in adifferent area for replacement.

In this case, if data recorded on the sector of the different area isnot simultaneously reproduced when one ECC block is reproduced,reproduction of the whole ECC block cannot be effected. That is,originally, the sectors of one ECC block can be successively reproduced,but in this case, it becomes necessary to reproduce the sector forreplacement in the course of reproduction of the ECC block and thensuccessively reproduce the sectors of the original ECC block. Therefore,the reproduction speed is lowered.

BRIEF SUMMARY OF THE INVENTION

An object-of this invention is to provide an optical disk device capableof recording data to permit data to be continuously reproduced whensuccessive data items such as speeches or moving pictures are reproducedeven if a defect replacing process is effected at the manufacturing timeor at the initial time, such as the application starting time.

Another object of this invention is to provide an optical disk devicecapable of continuously reproducing data when successive data items,such as speeches or moving pictures, are reproduced even if a defectreplacing process is effected at the recording time after the initialtime.

Still another object of this invention is to provide an optical diskdevice capable of continuously reproducing data when successive dataitems, such as speeches or moving pictures, are reproduced even if adefect replacing process is effected at the manufacturing time or at theinitial time, such as the application starting time.

Further, another object of this invention is to provide an optical diskdevice capable of minimizing reduction in the reproduction speed even ifa defect replacing process is effected at the recording time after theinitial time.

According to one aspect of this invention, there is provided areplacement processing method for an optical disk which has tracksarranged in a concentric or spiral form for data recording and in whicha format having a plurality of successive sector areas, each having apreset track length and including an address field for recordingphysical address data indicating the physical position on the track anda recording field for recording a recording data and a logical addressdata indicating the logical position, is defined, and the recording dataand logical data recording is effected in units of one block area, eachblock area containing a group of a preset number of sector areas amongthe plurality of sector areas and including an error correction datarecording area in which error correction data items used for reproducingdata recorded in the preset number of sector areas are collectivelyrecorded for the group of the preset number of sector areas, the methodcomprising the steps of:

detecting a sector area having a defect on the optical disk; and

skipping over the sector area with the defect in units of one sectorarea and recording the logical address data and the recording data anderror correction data into a next sector area when logical address dataand the recording data and error correction data for a plurality ofsector areas of units of one block area are recorded into the pluralityof sector areas to which the physical address data items on the opticaldisk are attached in order.

According to another aspect of this invention, there is provided adevice for recording data on an optical disk which has tracks arrangedin a concentric or spiral form for data recording and in which a formathaving a plurality of successive sector areas, each having a presettrack length and including an address field for recording physicaladdress data indicating the physical position on the track and arecording field for recording a recording data and a logical addressdata indicating the logical position, is defined, and the recording dataand the logical address data recording is effected in units of one blockarea, each block area containing a group of a preset number of sectorareas among the plurality of sector areas and including an errorcorrection data recording area in which error correction data items usedfor reproducing data recorded in the preset number of sector areas arecollectively recorded for the group of the preset number of sectorareas, the device comprising:

detecting means for detecting a sector area having a defect on theoptical disk; and

recording means for skipping over the sector area having the defectdetected by the detecting means in units of one sector area andrecording the logical address data and the recording data and errorcorrection data into a next sector area when logical address data andthe recording data and error correction data for a plurality of sectorareas of units of one block area are recorded into the plurality ofsector areas to which the physical address data items on the opticaldisk are attached in order.

According to still another aspect of this invention, there is provided areplacement processing method for an optical disk which has tracksarranged in a concentric or spiral form for data recording and in whicha format having a plurality of successive sector areas, each having apreset track length and including an address field for recordingphysical address data indicating the physical position on the track anda recording field for recording a recording data and a logical addressdata indicating the logical position, is defined, and the recording dataand the logical address data recording is effected in units of one blockarea containing a group of a preset number of sector areas among theplurality of sector areas and including an error correction datarecording area in which error correction data items used for reproducingdata recorded in the preset number of sector areas are collectivelyrecorded for the group of the preset number of sector areas, the methodcomprising the steps of:

successively recording the recording data and error correction data andthe logical address data into the plurality of successive block areas onthe optical disk and sequentially recording the recording data and errorcorrection data and the logical address data into the plurality ofsector areas of each of the block areas at the time other than themanufacturing time or the initial time, such as the application startingtime;

reproducing data recorded in each of the sector areas of each blockarea;

comparing the reproduced data with recorded data to detect a block areahaving a defective sector area;

recording the recording data and error correction data for one blockarea which is detected to contain the defective sector area into sectorareas of a replacement block area and recording the logical address dataof the sector areas of the block area containing the defective sectorarea into corresponding sector areas of the replacement block area.

According to another aspect of this invention, there is provided adevice for recording data on an optical disk which has tracks arrangedin a concentric or spiral form for data recording and in which a formathaving a plurality of successive sector areas, each having a presettrack length and including an address field for recording physicaladdress data indicating the physical position on the track and arecording field for recording a recording data and a logical addressdata indicating the logical position, is defined, and the recording andthe logical address data recording is effected in units of one blockarea, each block area containing a group of a preset number of sectorareas among the plurality of sector areas and including an errorcorrection data recording area in which error correction data items usedfor reproducing data recorded in the preset number of sector areas arecollectively recorded for the group of the preset number of sectorareas, the device comprising:

first recording means for successively recording the recording data anderror correction data into the plurality of successive block areas onthe optical disk and sequentially recording the recording data and errorcorrection data into the plurality of sector areas of each of the blockareas at the time other than the manufacturing time or the initial time,such as the application starting time;

reproducing means for reproducing the address data in the address fieldand the recording data and error correction data recorded in each of thesector areas of each block area by the first recording means;

determining means for comparing the recording data and error correctiondata and the logical address data reproduced by the reproducing meanswith the address data in the address field and the recording data anderror correction data recorded by the first recording means to determinea block area having a defective sector area; and

second recording means for recording the recording data and errorcorrection data for one block area containing the defective sector areainto sector areas of a replacement block area and recording the logicaladdress data of the sector areas of the block area containing thedefective sector area into corresponding sector areas of the replacementblock area.

According to another aspect of this invention, there is provided areplacement processing method for an optical disk which has tracksarranged in a concentric or spiral form for data recording and in whicha format having a plurality of successive sector areas, each having apreset track length and including an address field for recording addressdata indicating the physical position on the track and a recording fieldfor recording a recording data and a logical address data indicating thelogical position, is defined, and the recording data and the logicaladdress data recording is effected in units of one block area, eachblock area containing a group of a preset number of sector areas amongthe plurality of sector areas and including an error correction datarecording area in which error correction data items used for reproducingdata recorded in the preset number of sector areas are collectivelyrecorded for the group of the preset number of sector areas, the methodcomprising the steps of:

detecting a sector area having a defect on the optical disk at themanufacturing time or at the initial time, such as the applicationstarting time;

skipping over the detected sector area having the defect in units of onesector area and then recording the logical address data and therecording data into a next sector area when the logical address data andthe recording data for the plurality of sector areas of units of oneblock area are recorded into the sector areas to which the physicaladdress data items on the optical disk are sequentially attached;

successively recording the recording data and error correction data andthe logical address data into the plurality of successive block areas onthe optical disk at a time other than the initial time and sequentiallyrecording the recording data and error correction data and the logicaladdress data into the plurality of sector areas of each of the blockareas;

reproducing the recording data and error correction data and the logicaladdress data recorded in the sector areas of each of the block areas;

comparing the reproduced recording data and error correction data andthe logical address data with the recorded data to determine a blockarea containing a defective sector area; and

recording the recording data and error collection data in a replacementblock area which is different from the block area containing thedefective sector area and recording the logical address data of thesector areas of the block area containing the defective sector area intocorresponding sector areas of the replacement block area.

Additional objects and advantages of the invention will be set forth inthe description which follows, and in part will be obvious from thedescription, or may be learned by practice of the invention. The objectsand advantages of the invention may be realized and obtained by means ofthe instrumentalities and combinations particularly pointed out in theappended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute apart of the specification, illustrate presently preferred embodiments ofthe invention, and together with the general description given above andthe detailed description of the preferred embodiments given below, serveto explain the principles of the invention.

FIG. 1 is a block diagram showing the schematic construction of anoptical disk device for explaining one embodiment of this invention;

FIG. 2 is a plan view showing the schematic structure of an optical diskshown in FIG. 1;

FIG. 3 is a diagram showing the schematic construction of the opticaldisk shown in FIG. 1;

FIG. 4 is a diagram for explaining the rotation speed of the opticaldisk shown in FIG. 1 for each zone and the number of sectors in onetrack;

FIGS. 5 and 6 are diagrams each showing the construction of an ECC blockof the optical disk shown in FIG. 1;

FIG. 7 is a diagram showing the construction of each sector of the ECCblock of FIG. 6;

FIG. 8 is a view for illustrating preformat data in a header portion ofthe optical disk of FIG. 2;

FIG. 9 is a diagram showing the sector format of the ECC block of FIG.6;

FIG. 10 is a diagram showing a recording example in a defect managementarea recorded in the rewritable zone of the optical disk of FIG. 2;

FIG. 11 is a view for illustrating detectors for detecting the presenceor absence of the optical disk of FIG. 1 and the open or closed state ofa cartridge;

FIG. 12 is a flowchart for illustrating an initial defect list formingprocess;

FIGS. 13 and 14 are diagrams showing the relation between physicalsector numbers and logical sector numbers, for illustrating the slipreplacement process in units of one sector;

FIG. 15 is a diagram for illustrating the slip replacement processeffected in units of one sector when successive data items such asmoving pictures are recorded on a plurality of ECC blocks;

FIG. 16 is a diagram for illustrating the linear replacement process inunits of one ECC block;

FIG. 17 is a diagram for illustrating the reproducing order of the ECCblocks in the linear replacement process in units of one ECC block;

FIG. 18 is a diagram showing the relation between physical sectornumbers and logical sector numbers in an ECC block for replacement whenthe linear replacement process in units of one ECC block is effected;and

FIGS. 19 and 20 are flowcharts for illustrating the process effectedwhen data is recorded in a preset ECC block.

DETAILED DESCRIPTION OF THE INVENTION

There will now be described an embodiment of this invention withreference to the accompanying drawings.

FIG. 1 shows an optical disk device used as an information recordingdevice. The optical disk device is used to record data (information) orreproduce recorded data by applying converged light to an optical disk(DVD-RAM) 1 used as a recording medium.

For example, the disk 1 is a phase changing type rewritable disk, whichis constructed by forming a metal coating layer of tellurium or bismuthin a doughnut form on the surface of a base plate which is formed ofglass or plastic in a circular form, in which data is recorded orrecorded data is reproduced by using concentric or spiral grooves andlands and on which address data items are recorded at preset intervalsby use of recording marks in the mastering step.

As shown in FIGS. 2 and 3, the optical disk 1 has a lead-in area 2, dataarea 3 and lead-out area 4.

The lead-in area 2 has an embossed data zone 5 constructed of aplurality of tracks and a rewritable data zone 6 constructed of aplurality of tracks. In the embossed data zone 5, a reference signal andcontrol data are recorded at the manufacturing time. The rewritable datazone 6 is constructed of a guard track zone, disk test zone, drive testzone, disk identification data zone, and a replacement management zone6a used as a replacement management area.

The data area 3 is constructed of a plurality of zones, for example, 24zones numbered 3a, . . . , 3x which are formed of a plurality of tracksarranged in a radial direction.

The lead-out area 4 is a rewritable data zone which is constructed of aplurality of tracks like the rewritable data zone 6 and in which thesame data as the recorded content of the data zone 6 can be recorded.

As shown in FIG. 3, the optical disk 1 has the embossed data zone 5 andrewritable data zone 6 of the lead-in area 2, the zones 3a, . . . , 3xof the data area 3 and the data zone of the lead-out area 4 sequentiallyarranged in this order from the innermost portion, the same clock signalis used for the above zones, and the rotation speed of the optical disk1 and the number of sectors of one track are different in the respectivezones.

In the zones 3a, . . . , 3x of the data area 3, the rotation speedbecomes lower and the number of sectors of one track becomes larger asthe zone lies at a farther distance from the innermost portion of theoptical disk 1.

The relation between speed data (the rotation speed) and the number ofsectors for the above zones 3a, . . . , 3x, 4, 5, 6 is recorded on atable 10a of a memory 10 as shown in FIG. 4.

As shown in FIGS. 2 and 3, in the tracks of the zones 3a, . . . , 3x ofthe data area 3, data items are previously recorded in the ECC (errorcorrection code) block data unit (for example, in the unit of 38688bytes) which is treated as the data recording unit.

The ECC block is constructed of 16 sectors in which 2k-byte data isrecorded, and as shown in FIG. 5, each of sector ID (identificationdata) 1 to ID 16 of 4-byte (32-bit) configuration used as address datais attached to main data (sector data) together with an error detectioncode (IED: ID error detection code) of 2-byte configuration in eachsector, and lateral ECCs (error correction codes) 1 and longitudinalECCs 2 used as error correction codes for reproducing data recorded inthe ECC blocks are recorded. The ECCs 1 and 2 are error correction codesattached to data as redundant words for preventing data from being madeunreproducible due to a defect in the optical disk 1.

A preset number of ECC blocks among a plurality of ECC blocks of thezones 3a, . . . , 3x of the data area 3 are used for replacement.

Each of the sectors is constructed by data of 172 bytes×12 rows, alateral ECC 1 of 10-byte configuration is attached for each row and alongitudinal ECC 2 of 182-byte configuration of one row is attached toeach sector.

When the ECC block is recorded on the optical disk 1, synchronizationcodes (2 bytes: 32 channel bits) for attaining the byte synchronizationwhen data is reproduced are attached for every preset amount of data (atpreset data length intervals, for example, for every 91 bytes: for every1456 channel bits) of each sector as shown in FIG. 6.

As shown in FIG. 7, each sector is constructed by 26 frames ranging froma zero frame to a 25th frame, and a sync. code (frame synchronizationcode) attached to each frame is constructed of a specified code (onebyte: 16 channel bits) and a common code (one byte: 16 channel bits)which is common for each frame.

That is, as shown in FIG. 7, the zero frame is represented by SY0, thesecond, tenth and eighteenth frames are represented by SY1, the fourth,twelfth and twentieth frames are represented by SY2, the sixth,fourteenth and twenty-second frames are represented by SY3, the eighth,sixteenth and twenty-fourth frames are represented by SY4, the first,third, fifth, seventh and ninth frames are represented by SY5, theeleventh, thirteenth, fifteenth and seventeenth frames are representedby SY6, and the nineteenth, twenty-first, twenty-third and twenty-fifthframes are represented by SY7.

As shown in FIG. 2, in the tracks of the zones 3a, . . . , 3x of thedata area 3, header portions (address field) 11, . . . in whichaddresses and the like are recorded are previously preformatted forrespective sectors.

The header portion 11 is formed at the time of formation of the grooves.As shown in FIG. 8, the header portion 11 is formed of a plurality ofpits 12 and pre-formatted for the grooves 13, and the center of the pit12 lies on the same line as the boundary line between the groove 13 andthe land 14.

As shown in FIG. 8, a pit train ID1 constructs the header portion of agroove 1, a pit train ID2 constructs the header portion of a land 1, apit train ID3 constructs the header portion of a groove 2, a pit trainID4 constructs the header portion of a land 2, a pit train ID5constructs the header portion of a groove 3, and a pit train ID6constructs the header portion of a land 3.

Thus, the header portions for grooves and the header portions for landsare alternately (in a staggered form) arranged.

The format for each sector is shown in FIG. 9.

In FIG. 9, one sector is constructed by 2697 bytes and is constructed bya header field of 128 bytes (corresponding to the header portion 11), amirror field 17 of 2 bytes and a recording field 18 of 2567 bytes.

Channel bits recorded in the above sector are formed in a formatobtained by converting 8-bit data into 16-bit channel bits by subjectingthe same to the 8-16 code modulation.

The header field 11 is an area in which preset data is recorded at thetime of manufacture of the optical disk 1. The header field 11 isconstructed by a header 1 field, header 2 field, header 3 field, andheader 4 field.

Each of the header 1 field to header 4 field is constructed from 46bytes or 18 bytes and includes a 36-byte or 8-byte sync. code portionVFO (Variable Frequency Oscillator), 3-byte address mark AM (AddressMark), 4-byte address portion PID (Position Identifier), 2-byte errordetection code IED (ID Error Detection Code), and 1-byte postamble PA(Postambles).

The header 1 field and header 3 field each include 36-byte sync. codeportion VFO1 and each of the header 2 field and header 4 field eachinclude 8-byte sync. code portion VFO2.

The sync. code portions VFO1, VFO2 are areas used for the pull-inoperation of PLL, the sync. code portion VFO1 is formed by recordingsuccessive data items of "010 . . ." in channel bits by "36" bytes (576bits in terms of channel bits) (by recording patterns at presetintervals) and the sync. code portion VFO2 is formed by recordingsuccessive data items of "010 . . . " in channel bits by "8" bytes (128bits in terms of channel bits).

The address mark AM is sync. code of "3" bytes indicating the positionat which the sector address starts. As the pattern of each byte of theaddress mark AM is formed, a special pattern which does not appear in adata portion of "0100100000000100" is used.

The address portions PID1 to PID4 are areas in which sector addresses(containing ID numbers) stored as 4-byte address information arerecorded. The sector address is a physical sector number stored as aphysical address indicating the physical position on the track, andsince the physical sector number is recorded in the mastering step, itis impossible to rewrite the sector number.

The ID number is "1" in the case of PID1, for example, and is a numberindicating the number of the time, among the four times, by which theaddress portion is overwritten in one header portion 11.

The error detection code IED is an error detection code for the sectoraddress (containing the ID number) and can be used to detect thepresence or absence of an error in the readout PID.

The postamble PA contains state information necessary for demodulationand has a role for polarity adjustment to cause the header portion 11 toterminate in a space.

The mirror field 17 is used for offset compensation for a tracking errorsignal, timing control of a land/groove switching signal and the like.

The recording field 18 is constructed by a gap field of 10 to 26 bytes,guard 1 field of 20 to 26 bytes, VFO 3 field of 35 bytes, playsynchronous code (PS) field of 3 bytes, data field of 2418 bytes,postamble 3 (PA3) field of one byte, guard 2 field of 48 to 55 bytes andbuffer field of 9 to 25 bytes.

The gap field is an area in which nothing is written.

The guard 1 field is an area provided for preventing the terminaldeterioration inherent to the phase changing type recording mediumoccurring at the time of repetitive recording from influencing the VFO 3field in any way.

The VFO 3 field is an area for PLL locking and is also used forinserting a sync. code into the same pattern and attaining thesynchronization of the byte boundary.

The PS (pre-synchronous code) field is a synchronization area forconnection to the data field.

The data field is an area constructed by data ID, data ID errorcorrection code IED (Data ID Error Detection Code), sync. code, ECC(Error Correction Code), EDC (Error Detection Code), user data and thelike. The data ID includes sector ID1 to sector ID16 of 4-byteconfiguration (32 channel bits) of each sector. The data ID errorcorrection code IED is an error correction code of 2-byte configuration(16 bits) for data ID.

The sector ID (1 to 16) is constructed by 1-byte (8-bit) sectorinformation and 3-byte sector number (logical sector number as a logicaladdress indicating the logical position on the track). The sectorinformation is constructed by a 1-bit sector format type field, 1-bittracking method field, 1-bit reflectance field, 1-bit reserve field,2-bit area type field, 1-bit data type field and 1-bit layer numberfield.

The logical sector number is made different from the physical sectornumber by the slip replacement process as will be described later.

When "1" is recorded in the sector format type field, it indicates azone format type. When "1" is recorded in the tracking method field, itindicates a groove tracking method. When "1" is recorded in thereflectance field, it indicates that the reflectance is more than 40%.When "00" is recorded in the area type field, it indicates a data area,when "01" is recorded, it indicates a lead-in area, when "10" isrecorded, it indicates a lead-out area, and when "11" is recorded, itindicates "reserve". When "0" is recorded in the data type field, itindicates recording of read only data and when "1" is recorded, itindicates recording of rewritable data. When "0" is recorded in thelayer number field, it indicates "layer 0".

The PA (postamble) 3 field is an area containing state informationnecessary for demodulation and indicating the end of the final byte of apreceding data field.

The guard 2 field is an area provided for preventing the terminaldeterioration inherent to the phase changing type recording mediumoccurring at the time of repetitive recording from influencing the datafield in any way.

The buffer field is an area provided for absorbing fluctuations in therotating motion of the motor which rotates the optical disk 1 so as toprevent the data field from extending to the next header portion 11.

The reason why the gap field is represented by 10 to 26 bytes is topermit the random shifting operation to be effected. The random shiftingoperation shifts the starting position of data to be written so as toreduce deterioration in the phase changing type recording medium due torepeated recording operations. The length of the random shifting isadjusted according to the length of the buffer field arranged in thelast portion of the data field, and the whole length of one sector is2697 bytes and is constant.

In the respective zones 3a, . . . , 3x of the data area 3, spare sectorsare prepared and each of them is used as a final spare when the slipreplacement process (slipping replacement algorithm) in units of onesector is effected in the same zone.

As shown in FIG. 10, in the replacement management area 6a of therewritable data zone 6, a primary defect list (PDL) 15 and secondarydefect list (SDL) 16 are to be recorded.

The primary defect list (PDL) 15 is a list of physical sector numbers(physical addresses) of sectors which are determined as defective atmanufacturing time or at an initial time, such as the applicationstarting time. The sector numbers indicate sectors to be subjected tothe replacement process (slipping replacement algorithm) by the slippingprocess in units of one sector.

In the primary defect list 15, primary defect list identification data,the number of addresses as the number of defects, and physical sectornumbers indicating defective sectors are described.

The secondary defect list (SDL) 16 is a list for ECC blocks (defectiveblocks) having sectors which are determined to be defective at therecording time other than the above initial time. That is, it is a listof the physical sector numbers (physical addresses) of the first or headsectors of ECC blocks (defective blocks) having sectors which aredetermined as defective when data is recorded for preset ECC blocks andthe physical sector numbers (physical addresses) of the first sectors ofECC blocks (replacement blocks: spare blocks) which are used forreplacement for the defective blocks.

In the secondary defect list, secondary defect list identification data,the number of entries as the number of defects, physical sector numbersindicating first sectors as the addresses of defective blocks andphysical sector numbers indicating the first sectors as the addresses ofreplacement blocks for the defective blocks are described. The addressesof the defective blocks and the addresses of the replacement blocks forthe defective blocks are described in one-to-one correspondence.

In the optical disk device of FIG. 1, the optical disk 1 is rotated atdifferent rotation speeds in the respective zones, for example, by amotor 23. The motor 23 is controlled by a motor control circuit 24.

Recording of data on the optical disk 1 or reproduction of data recordedon the optical disk 1 are effected by an optical head 25. The opticalhead 25 is fixed on a driving coil 27, forming a movable portion of alinear motor 26, and the driving coil 27 is connected to a linear motorcontrol circuit 28.

A speed detector 29 is connected to the linear motor control circuit 28and a speed signal of the optical head 25 is supplied to the linearmotor control circuit 28.

A permanent magnet (not shown) is disposed on the fixed portion of thelinear motor 26 and when the driving coil 27 is excited by the linearmotor control circuit 28, the optical head 25 is moved in the radialdirection of the optical disk 1.

In the optical head 25, an objective lens 30 is supported by a wire orflat spring (not shown), and the objective lens 30 can be moved in afocusing direction (in the optical axis direction of the lens) by adriving coil 32 and moved in a tracking direction (in a directionperpendicular to the optical axis of the lens) by a driving coil 31.

A semiconductor laser oscillator 39 is driven by a laser control circuit33 to generate laser light. The laser control circuit 33 corrects theamount of laser light from the semiconductor laser oscillator 39according to a monitoring current from a monitoring photodiode PD of thesemiconductor laser oscillator 39.

The laser control circuit 33 is operated in synchronism with a recordingclock signal from a PLL circuit (not shown). The PLL circuit divides thefrequency of a basic clock signal from an oscillator (not shown) togenerate a recording clock signal.

The laser light generated from the semiconductor laser oscillator 39driven by the laser control circuit 33 is applied to the optical disk 1via a collimator lens 40, half-prism 41, and objective lens 30 and thereflection light from the optical disk 1 is directed to a photodetector44 via the objective lens 30, half-prism 41, condenser lens 42 andcylindrical lens 43.

The photodetector 44 is constructed from four-divided photodetectorcells 44a, 44b, 44c, 44d.

An output signal of the photodetector cell 44a of the photodetector 44is supplied to one input terminal of an adder 46a via an amplifier 45a,an output signal of the photodetector cell 44b is supplied to one inputterminal of an adder 46b via an amplifier 45d, an output signal of thephotodetector cell 44c is supplied to the other input terminal of theadder 46a via an amplifier 45c, and an output signal of thephotodetector cell 44d is supplied to the other input terminal of theadder 46b via an amplifier 45b.

Further, the output signal of the photodetector cell 44a of thephotodetector 44 is supplied to the one input terminal of the adder 46dvia the amplifier 45a, the output signal of the photodetector cell 44bis supplied to the one input terminal of the adder 46d via the amplifier45d, the output signal of the photodetector cell 44c is supplied to theinput terminal of the adder 46c via the amplifier 45c, and the outputsignal of the photodetector cell 44d is supplied to the other inputterminal of the adder 46c via the amplifier 45b.

An output signal of the adder 46a is supplied to an inverting inputterminal of a differential amplifier OP2 and an output signal of theadder 46b is supplied to a non-inverting input terminal of thedifferential amplifier OP2. Therefore, the differential amplifier OP2supplies a signal (focusing error signal) relating to the focus point toa focusing control circuit 47 according to a difference between theoutput signals of the adders 46a and 46b. An output signal of thefocusing control circuit 47 is supplied to the focusing driving coil 32and controlled to cause the laser light to be always exactly focused onthe optical disk 1.

An output signal of the adder 46c is supplied to a non-inverting inputterminal of a differential amplifier OP1 and an output signal of theadder 46d is supplied to an inverting input terminal of the differentialamplifier OP1. Therefore, the differential amplifier OP1 supplies atracking error signal to a tracking control circuit 48 according to adifference between the output signals of the adders 46c and 46d. Thetracking control circuit 48 creates a track driving signal according toa tracking error signal supplied from the differential amplifier OP1.

The track driving signal output from the tracking control circuit 48 issupplied to the driving coil 31 for driving the objective lens 30 in thetracking direction. Further, the tracking error signal used in thetracking control circuit 48 is supplied to the linear motor controlcircuit 28.

A total sum signal of the output signals of the photodetector cells 44ato 44d of the photodetector 44 obtained after the focusing and trackingoperations are effected, that is, a signal obtained by adding togetherthe output signals of the adders 46c and 46d in an adder 46e reflects avariation in the reflectance of a pit (recorded data) formed on thetrack. The signal is supplied to a data reproducing circuit 38 andrecorded data is reproduced in the data reproducing circuit 38.

Reproduced data reproduced in the data reproducing circuit 38 issubjected to the error correction process in an error correction circuit52 by use of an attached error correction code ECC, and the reproduceddata is then output to an optical disk control circuit 56 used as anexternal device via an interface circuit 55.

Further, while the objective lens 30 is being moved by the trackingcontrol circuit 48, the linear motor control circuit 28 drives thelinear motor 26 or the optical head 25 to set the objective lens 30 inor near the central position in the optical head 25.

In the preceding stage of the laser control circuit 33, a data creationcircuit 34 is provided. The data creation circuit 34 includes an ECCblock data creation circuit (not shown) for converting ECC block formatdata used as recording data as shown in FIG. 5 and supplied from theerror correction circuit 52 into recording ECC block format data havingECC block sync. codes attached thereto as shown in FIG. 6 and amodulation circuit (not shown) for modulating recording data from theECC block data creation circuit (not shown) according to the 8-16 codeconversion system.

The data creation circuit 34 is supplied with recording data having anerror correction code attached thereto by the error correction circuit52 and dummy data for error checking read out from the memory 10. Theerror correction circuit 52 is supplied with recording data from theoptical disk control device 56 used as an external device via theinterface circuits 55 and a bus 49.

The error correction circuit 52 creates ECC block format data as shownin FIG. 5 by attaching error correction codes (ECC, ECC2) for thelateral and longitudinal directions of recording data items, which areset in units of one sector of 2k bytes and included in the 32k-byterecording data supplied from the optical disk control device 56 andattaching sector IDs (logical address numbers), to the respectiverecording data items.

Further, in the optical disk device, a D/A converter 51 used fortransferring information between a CPU 50 for controlling the wholeportion of the optical disk device and the focusing control circuit 47,tracking control circuit 48 and linear motor control circuit 28 isprovided.

The motor control circuit 24, linear motor control circuit 28, lasercontrol circuit 33, data reproducing circuit 38, focusing controlcircuit 47, tracking control circuit 48, and error correction circuit 52are controlled by the CPU 50 via the bus 49, and the CPU 50 performspreset operations according to control programs stored in the memory 10.

The memory 10 is used for storing the control programs and data. Thememory 10 includes a table 10a containing speed data items, as rotationspeeds for the zones 3a, . . . , 3x and the number of sectors for eachtrack, and a table 10b containing the primary defect list (PDL) 15 andsecondary defect list (SDL) 16 read out from the replacement managementarea 6a of the optical disk 1.

As shown in FIGS. 1 and 11, a detector 21 for detecting the presence orabsence of a cartridge 20 into which the optical disk 1 is received anda detector 22 for detecting the presence or absence of a through hole20a of the cartridge 20 are disposed below the optical disk 1. Thedetectors 21, 22 are each constructed by a microswitch, for example.

The cartridge 20 is formed to receive the optical disk 1, and if thecartridge 20 is opened at least once (if the optical disk 1 is takenout), the through hole 20a is formed in the cartridge. Detecting signalsfrom the detectors 21, 22 are supplied to the CPU 50 via the bus 49.

The CPU 50 detects whether the cartridge 20 is present or not accordingto the detection signal from the detector 21. Further, when it isdetermined that the cartridge 20 is present, the CPU 50 detects whetherthe cartridge 20 has been opened at least once according to thedetection signal from the detector 22.

Next, the primary defect list forming process effected at themanufacturing time or the initial time, such as the application startingtime, is explained with reference to the flowchart of FIG. 12.

Assuming now that the optical disk 1 at the application starting time isloaded on the optical disk device, then the CPU 50 determines the slipreplacement process to read out dummy data from the memory 10 andcontrol the recording operation for each sector of the data area 3 ofthe optical disk 1 by use of the dummy data (ST1).

Therefore, while the optical disk 1 is being rotated at a rotation speeddifferent for each zone of the data area 3, the laser control circuit 33is controlled by a signal obtained by modulating the dummy data and theoutput from the data creation circuit 34 to drive the semiconductorlaser oscillator 39 so that laser light corresponding to the modulatedsignal of the dummy data will be applied to the optical disk 1. As aresult, data corresponding to the modulated signal of the dummy data isrecorded in the data field of each sector of the data area 3 of theoptical disk 1.

After this, when the recording operation for each sector of the dataarea 3 of the optical disk 1 is terminated, the CPU 50 controls thereadout of dummy data for each sector (ST2).

Therefore, while the optical disk 1 is being rotated at a rotation speeddifferent for each zone of the data area 3, reflection light based onthe reproducing laser light from the semiconductor laser oscillator 39is directed to the photodetector 44 so that the physical sector numberrecorded in the header portion 11 of each sector can be reproduced bythe data reproducing circuit 38 and data recorded in the data field ofthe sector can be demodulated and reproduced.

Based on the above reproduction, the CPU 50 determines that data iscorrectly recorded when the physical sector number of the header portion11 of each sector can be correctly reproduced. Correctly recorded datais determined by the CPU 50 also when the recorded dummy data iscompared with the reproduced data and the number of errors in the sectordoes not exceed a first specified value. The CPU 50 determines theoccurrence of primary defect (initial defect) caused by incorrectlyrecorded data, thereby making it an object of the slip replacementprocess in a case where the physical sector number in the header portion11 cannot be correctly reproduced or when the number of errors in thesector exceeds the first specified value (ST3).

The first specified value is determined such that the number of rowscontaining, for example, four or more error bytes in one sector having aconfiguration of 182 bytes×13 rows is set to five or more.

As a result of the above determination, if the CPU 50 determines thatthe defect should be an object of the slip replacement process, the CPUclassifies the sector as a defective sector and stores the physicalsector number thereof as a defective sector into the memory 10 (ST4).

Then, when the process for checking all of the sectors in the data area3 is completed (ST5), the CPU 50 controls the recording operation forthe replacement management area 6a of the optical disk 1 according todata dealt with as a primary defect list containing primary defect listidentification information and the number of physical sector numbersattached to the physical sector numbers of the defective sectors storedin the memory 10 (ST6).

Therefore, while the optical disk 1 is being rotated at a rotation speedcorresponding to the rewritable data zone 6, the laser control circuit33 is controlled by a signal obtained by modulating data supplied as theprimary defect list from the data creation circuit 34 to drive thesemiconductor laser oscillator 39 so that laser light corresponding tothe modulated signal of data as the primary defect list will be appliedto the optical disk 1. As a result, data corresponding to the modulatedsignal of data dealt with as the primary defect list is recorded in thereplacement management zone 6a of the data area 3 of the optical disk 1.

Next, the slip replacement process (slipping replacement algorithm),which is effected in units of one sector based on the primary defectlist is explained with reference to FIGS. 13, 14 and 15.

That is, when data is recorded in units of one ECC block on the opticaldisk 1, the slip replacement process in units of one sector is effectedby slipping or skipping over the defective sector based on the primarydefect list.

For example, assuming now that data of one ECC block is recorded using16 sectors ranging from the physical sector number (m-1) to the physicalsector number (m+14) of the optical disk 1, then the data of one ECCblock is recorded using 16 sectors ranging from the physical sectornumber (m-1) to the physical sector number (m+15) excluding the sectorof the physical sector number m if the sector of the physical sectornumber m in the above sectors is registered in the primary defect list.

In this case, if "m-1" is attached as the logical sector number for thephysical sector number (m-1) as shown in FIGS. 13 and 14, the logicalsector number m is recorded for the physical sector number (m+1), thelogical sector number (m+1) is recorded for the physical sector number(m+2), the logical sector number (m+2) is recorded for the physicalsector number (m+3), the logical sector number (m+3) is recorded for thephysical sector number (m+4), the logical sector number (m+4) isrecorded for the physical sector number (m+5), the logical sector number(m+5) is recorded for the physical sector number (m+6), the logicalsector number (m+6) is recorded for the physical sector number (m+7),the logical sector number (m+7) is recorded for the physical sectornumber (m+8), the logical sector number (m+8) is recorded for thephysical sector number (m+9), the logical sector number (m+9) isrecorded for the physical sector number (m+10), the logical sectornumber (m+10) is recorded for the physical sector number (m+11), thelogical sector number (m+11) is recorded for the physical sector number(m+12), the logical sector number (m+12) is recorded for the physicalsector number (m+13), the logical sector number (m+13) is recorded forthe physical sector number (m+14), and the logical sector number (m+14)is recorded for the physical sector number (m+15).

Therefore, as shown in FIG. 15, if the slip replacement process in unitsof one sector is effected in the ECC block n in the ECC blocks (n-1), n,(n+1), (n+2), . . . in which successive data items, such as movingpictures, are recorded, the recording operation only for the defectivesector contained in the ECC block n is interrupted and the relationbetween the physical sector and the ECC block (logical sector) in whichdata is recorded is shifted by one sector.

As a result, if successive data items such as moving pictures andspeeches are recorded in the above ECC block, interruption of thereproduction due to the presence of the defective sector occurs, butsince the period of interruption of the reproduction for one sector isshort, no substantial influence will be given to the reproduced picturesand speeches.

It is understood that the period of interruption of one sector isrelatively short in comparison with a case wherein the recordingoperation is interrupted for a period of one ECC block if the slipreplacement process is effected in units of one ECC block as in theprior art. Thus, successive data items can be recorded almost withoutinterruption.

Since the slip replacement process in units of one sector is effectedbased on the primary defect list, physical sectors for each ECC blockare allocated and the relation of the physical sectors with respect tothe logical sectors for each ECC block is determined and stored in thememory 10 when the optical disk 1 is loaded on the optical disk deviceand the primary defect list read out from the replacement managementarea 6a of the optical disk 1 is recorded in the table 10b of the memory10.

Next, the linear replacement process (linear replacement algorithm) inunits of one ECC block is explained with reference to FIGS. 16, 17 and18.

For example, assume now that successive data items such as movingpictures or speeches are recorded in the ECC blocks which aresuccessively placed on the optical disk 1 or in the ECC block (n-1), ECCblock (n), ECC block (n+1), ECC block (n+2), . . . as shown in FIG. 16.

If it is determined that a secondary defect occurs in one of the sectorsof the ECC block (n) at the actual data recording time, the ECC block(n) containing the secondary defective sector is replaced using areplacement ECC block (1) by the linear replacement process in units ofone block and then corresponding data is recorded therein. At this time,data indicating that the linear replacement process has been effected isrecorded in the memory 10. The order of reproduction of the thusrecorded data items is set such that the ECC block (n-1) is firstreproduced, then the ECC block (1) for replacement is reproduced, theECC block (n+1) is reproduced next, and the ECC block (n+2) isreproduced as shown in FIG. 17.

In this case, unlike in the conventional case, it is not necessary toeffect the replacement process in units of one sector, that is, it isnot necessary to access the ECC block for replacement in the course ofreproduction of one ECC block, then return to the original ECC block andcontinue the reproducing operation for the original ECC block. Thus, thereproduction speed can be sufficiently high so as not to cause anyharmful influence during the replacement process.

In a case where the replacement process in units of one ECC block iseffected and if the logical sector numbers m to (m+15) and the physicalsector numbers m to (m+15) of the sectors in the ECC block (n)containing the secondary defective sector are obtained before the linearreplacement process as shown in FIG. 18, then the logical sector numbersm to (m+15) are attached to the physical sector numbers y to (y+15) ofthe sectors in the replacement ECC block (1) after completion of thelinear replacement process.

In other words, the logical sector number of the recording field 18 tobe replaced is recorded as the address data of the replacing recordingfield 18, and this recording operation is performed without reference tothe address data (physical sector number) stored in the replacing headerfield 11.

Next, the process effected when data is recorded into a preset ECC blockis explained with reference to the flowcharts shown in FIGS. 19 and 20.

For example, assume now that recording data and a specification forrecording of data into the preset ECC block in the data area 3 of theoptical disk 1 are supplied from the optical disk control device 56 tothe optical disk device via the interface circuit 55. Then, thespecification for recording of data into the preset ECC block issupplied to the CPU 50, and the recording data of a sector unit obtainedby attaching an error correction code to the above recording data by theerror correction circuit 52 is supplied to the data creation circuit 34(ST10).

At the time of loading of the optical disk 1, the CPU 50 reads out theprimary defect list and secondary defect list recorded in thereplacement management area 6a of the optical disk 1, records them inthe table 10b of the memory 10, and determines and records physicalsector numbers (the primary defective sector is already slipped over) ofthe respective sectors for the ECC block based on the primary defectlist (ST11).

Further, the CPU 50 rotates the optical disk 1 at a rotation speedcorresponding to the zone in which the ECC block to be recorded iscontained (ST12).

In this state, when the physical sector number of the first sector ofthe ECC block is obtained by reproduction of the head portion 11, thedata creation circuit 34 converts ECC block format data (first onesector) used as recording data into format data of recording ECC blockto which sync. codes for the ECC block are attached, subject the same tothe 8-16 code modulation and then outputs the resultant data to thelaser control circuit 33. The semiconductor laser oscillator 39 isdriven by the laser control circuit 33 to apply laser lightcorresponding to the modulated signal of ECC block format data to theoptical disk 1. As a result, data is recorded in the first sector of thepreset ECC block of the data area 3 of the optical disk 1 (ST13).

After this, sector unit data is recorded in the same manner as-describedabove (ST13) each time a physical sector number corresponding to thephysical sector number specified by the CPU 50 is reproduced.

At this time, data is recorded based on the physical sector numbers ofthe sectors for the ECC block based on the primary defect list recordedin the memory 10. That is, data is recorded while effecting theabove-described slip replacement process to slip or skip over thedefective sector.

When recording of data into the preset ECC block is completed, the CPU50 determines the presence or absence (loaded state or not) of thecartridge 20 according to a detection signal from the detector 21(ST14), and if the presence of the cartridge 20 is determined, the CPU50 determines whether the cartridge 20 has been opened at least onceaccording to a detection signal from the detector 22 (ST15).

Based on the result of the above determination, if the cartridge 20being loaded has not been opened even once, the CPU 50 determines thatit is not necessary to check the recording data and completes the datarecording process (ST16).

If the loading of the cartridge 20 is not determined in the step ST14 orif the loading of the cartridge 20 is determined and it is determinedthat the cartridge 20 has been opened at least once, the CPU 50 controlsthe data readout for each sector of the ECC block (ST17).

As a result, reflection light based on laser light for reproduction fromthe semiconductor laser oscillator 39 is directed to the photodetector44 and the data reproducing circuit 38 reproduces the physical sectornumbers recorded in the header portions 11 of the sectors subjected tothe above recording operation and demodulates and reproduces datarecorded in the data fields of the respective sectors (ST18).

Based on the above reproduction, the CPU 50 determines that data iscorrectly recorded when the physical sector number of the header portion11 of each sector can be correctly reproduced or when the recorded dataof each sector is compared with the reproduced data of each sector andit is determined that the number of errors in the sector does not exceeda preset specified value. The CPU 50 further determines the occurrenceof the secondary defect due to the fact that data is not correctlyrecorded and determines it as an object of the linear replacementprocess when the physical sector number in the header portion 11 cannotbe correctly reproduced or the number of errors in the sector exceedsthe preset specified value (ST19).

For detecting an error state in the sector, one of the following fourconditions is used.

The first condition is that the physical sector number in the headerportion 11 cannot be correctly reproduced.

The second condition is that the number of errors in at least one sectorexceeds a first specified value.

The third condition is that the number of errors in at least one sectordoes not exceed the first specified value, but exceeds a secondspecified value and the number of errors in the whole ECC block exceedsa third specified value.

The fourth condition is that the number of errors in at least one sectordoes not exceed the first specified value but exceeds the secondspecified value and the number of errors in the sectors of the whole ECCblock exceeds a fourth specified value.

The reason why the third and fourth conditions are set as an object ofthe linear replacement process is that data can be corrected in thewhole ECC block even when a large number of errors occur and if theyoccur only in one sector in the ECC block. The ECC block has 208 rows asa whole and data of up to 16 rows, each including five or more errors,can be corrected. Under this condition, the above specified values aredetermined.

That is, the first specified value is determined such that the number ofrows containing, for example, four or more error bytes in one sectorhaving a configuration of 182 bytes×13 rows is set to five or more.

The second specified value is determined such that the number of rowscontaining four or more error bytes is set to three or more.

The third specified value is determined such that the number of rowscontaining four or more error bytes is set to ten or more.

The fourth specified value is set to 2 sectors.

As the result of determination in the step ST19, an object of the linearreplacement process is determined, an ECC block determined as an objectis treated as a defective block and the above-described linearreplacement process for recording data of ECC block unit, which is to berecorded in the defective block into a replacement ECC block is effected(ST20). If an object of the linear replacement process is notdetermined, the recording process for the data is completed.

If the above linear replacement process is effected, the CPU 50 updatesand records the physical sector number (address of the defective block)of the first sector of the defective block and the physical sectornumber (address of the replacement block) of the first sector of thereplacement ECC block on the secondary defect list of the memory 10 andterminates the recording process for the data (ST21).

Further, when the optical disk 1 subjected to the linear replacementprocess is taken out from the optical disk device or when the secondarydefect list recorded on the table 10b is updated, the CPU 50 updates andrecords the recording content of the secondary defect list of the memory10 in the replacement management area 6a of the optical disk 1.

As described above, in the optical disk on which data is recorded inunits of one ECC block constructed by 16 sectors, dummy data is recordedat the manufacturing time or at the initial time, such as theapplication starting time, and the dummy data is reproduced to determinea sector with the primary defect, the address of the sector with primarydefect is recorded on the optical disk, and data of ECC block unit isrecorded at the data recording time while skipping over the sector withprimary defect.

As a result, if successive data items, such as moving pictures orspeeches, are recorded in the above ECC block, data reproduction istemporarily interrupted because of the presence of the defective sector,but since the interrupting time of the reproduction for one sector isshort, the pictures or speeches to be reproduced will not be influenced.

It is understood that the above interruption time is relatively shorterin comparison with recording interruption time of one ECC block causedwhen the slip replacement process is effected in units of one ECC blockas in the prior art. Thus, successive data items can be recorded almostwithout interruption.

Further, in the optical disk on which data is recorded in units of oneECC block, data is recorded at the data recording time other than theinitial time, the data is reproduced to determine the presence of an ECCblock having a sector with a secondary defect, and data in the ECC blockhaving the sector with the secondary defect is recorded in an ECC blockwhich is separately prepared.

Thus, even when the defect replacement process is effected at therecording time after the initial time, a lowering in the reproductionspeed can be suppressed.

That is, unlike the conventional case, it is not necessary to effect thereplacement process in units of one sector; that is, it is not necessaryto access the ECC block for replacement in the course of reproduction ofone ECC block, then return to the original ECC block and continue thereproducing operation for the original ECC block, and thus thereproduction speed can be sufficiently high so as not to cause anyharmful influence from the replacement process.

Additional advantages and modifications will readily occur to thoseskilled in the art. Therefore, the invention in its broader aspects isnot limited to the specific details, and representative embodimentsshown and described herein. Accordingly, various modifications maybemade without departing from the spirit or scope of the general inventiveconcept as defined by the appended claims and their equivalents.

I claim:
 1. A replacement processing method comprising the acts of:a)producing format data of an ECC block comprising (i) a firstpredetermined number of sectors, each of the sectors comprising a secondpredetermined number of rows, each of the rows having a thirdpredetermined number of bytes, (ii) a plurality of lateral errorcorrection codes, each of the lateral error correction codes comprisinga plurality of rows, a number of the rows being equal to a number of therows of each of the sectors, each of the rows of the lateral errorcorrection codes having a fourth predetermined number of bytes, each ofthe lateral error correction codes being laterally attached to one ofthe sectors, respectively, and (iii) a vertical error correction codebeing vertically attached to the sectors, the vertical error correctioncode comprising a fifth predetermined number of rows, the fifthpredetermined number being equal to the first predetermined number, eachof the rows of the vertical error correction code having a sixthpredetermined number of bytes, the sixth predetermined number beingobtained by adding the third predetermined number and the fourthpredetermined number, the ECC block comprising ECC rows, a number of theECC rows being obtained by adding a number of the rows of the verticalerror correction code and a number obtained by multiplying a number ofthe rows of each of the lateral error correction codes by the number ofthe rows of the vertical error correction code, each of the ECC rowshaving the sixth predetermined number of bytes, the format data beingused as a unit when recording and reproducing; b) completing recordingof the format data of the ECC block by recording sector data,respectively, in data areas of sector areas of an information recordingmedium, and by recording logical address data, respectively, in the dataareas of the sector areas, the logical address data, respectively,indicating logical positions of the sector areas on tracks of theinformation recording medium, the logical address data being requiredfor scramble processing to be performed on the format data of the ECCblock, a number of the sector data and a number of the sector areasbeing equal to the first predetermined number, the sector datacomprising (i) the sectors, (ii) the lateral error correction codeslaterally attached to the sectors, and (iii) the rows of the verticalerror correction code, each being attached to a last one of the rows ofeach of the sectors, the information recording medium comprising thetracks, which are concentric or spiral, for recording data, the tracksincluding a plurality of the sector areas, each of the sector areashaving a predetermined track length, each of the sector areas comprisingone header area and one data area, the header area of each of the sectorareas being provided such that address data indicating a position ofeach of the sector areas on the tracks is recorded in advance in theheader area, the data area of each of the sector areas being providedsuch that the data area is continuous with the header area andpredetermined data is recorded in the data area; c) determining, beforethe act b) whether or not the physical address data recorded in each ofthe header areas is reproduced; d) determining, before the act b),whether or not an error occurs in each of the ECC rows, including anassociated one of the rows of the lateral error correction code, andbeing reproduced from an associated one of the data areas, anddetermining a number of errors in each of the ECC rows, therebydetermining whether or not a number of the ECC rows having a number oferror bytes exceeding a seventh predetermined number is larger than aneighth predetermined number; and e) detecting, during the act b),whether at least one of the sector areas has a defect, based on resultsof the acts c) and e), and performing, when detecting that the at lastone of the sector areas has the defect, slipping replacement recordingfor recording an associated sector data piece of the sector data andassociated physical address data on one of the sector areas followingthe at least one of the sector areas, instead of on the at least one ofthe sector areas, and successively recording other sector data pieces ofthe sector data on other ones of the sector areas, thereby completingrecording of the format data of the ECC block.
 2. A replacementprocessing method comprising the acts of:a) producing format data of anECC block comprising (i) 16 sectors, each of the sectors comprising 12rows, each of the rows having 172 bytes, (ii) a plurality of lateralerror correction codes, each of the lateral error correction codescomprising 12 rows, each of the rows of the lateral error correctioncodes having 10 bytes, each of the lateral error correction codes beinglaterally attached to one of the 16 sectors, respectively, and (iii) avertical error correction code comprising 16 rows, each of the rows ofthe vertical error correction code having 182 bytes, the vertical errorcorrection code being vertically attached to the 16 sectors, the ECCblock comprising 208 ECC rows, each of the ECC rows having 182 bytes,the format data being used as a unit when recording and reproducing; b)completing recording of the format data of the ECC block by recording 16sector data, respectively, in data areas of 16 sector areas of aninformation recording medium, and by recording logical address data,respectively, in the data areas of the sector areas, the logical addressdata, respectively, indicating logical positions of the sector areas ontracks of the information recording medium, the logical address databeing required for scramble processing to be performed on the formatdata of the ECC block, the 16 sector data respectively comprising (i)the 16 sectors, (ii) the lateral error correction codes being laterallyattached to the sectors, and (iii) the rows of the vertical errorcorrection codes, each of the rows of the vertical error correction codebeing attached to a last one of the 12 rows of each of the 16 sectors,the information recording medium comprising the tracks, which areconcentric or spiral, for recording data, the tracks including aplurality of sector areas, each of the sector areas having apredetermined track length, each of the sector areas comprising oneheader area and one data area, the header area of said each of thesector areas being provided such that physical address data indicating aphysical position of each of the sector areas on the tracks is recordedin advance in the header area, the data area of each of the sector areasbeing provided such that the data area is continuous with the headerarea and predetermined data is recorded in the data area; c)determining, before the act b), whether or not the physical address datarecorded in each of the header areas is reproduced; d) determining,before the act b), whether or not an error occurs in each of the ECCrows, the ECC rows including an associated one of the rows of thelateral error correction code, and which is reproduced from anassociated one of the data areas, including an associated one of thesectors, and determining a number of errors in each of the ECC rows,thereby determining whether or not a number of the ECC rows having anumber of error bytes exceeding a first predetermined number is largerthan a second predetermined number; e) detecting, during execution ofthe act b), whether at least one of the sector areas has a defect, basedon results of the acts c) and e), and performing, when detecting thatthe at least one of the sector areas has the defect, slippingreplacement recording for recording an associated sector data piece ofthe sector data and associated physical address data on one of thesector areas following the at least one of the sector areas, instead ofon the at least one of the sector areas, and successively recordingother sector data pieces of the sector data on other ones of the sectorareas, thereby completing recording of the format data of the ECC block.3. A replacement processing method comprising the acts of:a) producingformat data of an ECC block comprising (i) a first predetermined numberof sectors, each of the sectors comprising a second predetermined numberof rows, each of the rows having a third predetermined number of bytes,(ii) a plurality of lateral error correction codes, each of the lateralerror correction codes comprising a plurality of rows, a number of therows of the lateral error correction codes being equal to a number ofthe rows of each of the sectors, each of the rows of the lateral errorcorrection codes having a fourth predetermined number of bytes, each ofthe lateral error correction codes being laterally attached to one ofthe sectors, respectively, and (iii) a vertical error correction codebeing vertically attached to the sectors, the vertical error correctioncode comprising a fifth predetermined number of rows, the fifthpredetermined number being equal to the first predetermined number, eachof the rows of the vertical error correction code having a sixthpredetermined number of bytes, the sixth predetermined number of bytesbeing obtained by adding the third predetermined number and the fourthpredetermined number, the ECC block comprising ECC rows, a number of theECC rows being obtained by adding a number of the rows of the verticalerror correction code and a number obtained by multiplying a number ofthe rows of each of the lateral error correction codes by the number ofthe rows of the vertical error correction code, each of the ECC rowshaving the sixth predetermined number of bytes, the format data beingused as a unit when recording and reproducing; b) completing recordingof the format data of the ECC block by recording sector data,respectively, in data areas of sectors areas of an information recordingmedium, and by recording logical address data, respectively, in the dataareas of the sector areas, the logical address data, respectively,indicating logical positions of the sector areas on tracks of theinformation recording medium, the logical address data being requiredfor scramble processing to be performed on the format data of the ECCblock, the number of the sector data and the number of the sector areasbeing equal to the number of the sectors, the sector data comprising (i)the sectors, (ii) the lateral error correction codes laterally attachedto the sectors, and (iii) the rows of the vertical error correctioncode, each being attached to a last one of the rows of each of thesectors, the information recording medium comprising (i) the tracks,which are concentric or spiral, for recording data, the tracks includinga plurality of the sector areas, each of the sector areas having apredetermined track length, and (ii) a defect management data area, eachof the sector areas comprising one header area and one data area, theheader area of each of the sector areas being provided such thatphysical address data indicating a physical position of each of thesector areas on the tracks is recorded in advance in the header area,the data area of each of the sector areas being provided such that thedata area is continuous with the header area and predetermined data isrecorded in the data area; c) recording the physical address data,before the act b), indicating the physical position of at least one ofthe sector areas which is determined to be a defective sector area, inadvance in the defect management data area; d) determining whether ornot each of the sector areas is a defective sector area, based on thephysical address data recorded in the defect management data area; ande) performing, during the act b), linear replacement recording forrecording an associated sector data piece of the sector data andassociated physical address data on one of the sector areas followingthe sector area thereof determined to be the defective sector areaduring the act d), instead of on the sector area determined to be thedefective sector area, and successively recording other sector datapieces of the sector data on other ones of the sector areas, therebycompleting recording of the format data of the ECC block.
 4. Areplacement processing method comprising the acts of:a) producing formatdata of an ECC block comprising (i) a first predetermined number ofsectors, each of the sectors comprising a second predetermined number ofrows, each of the rows having a third predetermined number of bytes,(ii) a plurality of lateral error correction codes, each of the lateralerror correction codes comprising a plurality of rows, a number of therows of the lateral error correction codes being equal to the number ofthe rows of each of the sectors, each of the rows of the lateral errorcorrection codes having a fourth predetermined number of bytes, each ofthe lateral error correction codes being laterally attached to one ofthe sectors, respectively, and (iii) a vertical error correction codebeing vertically attached to the sectors, the vertical error correctioncode comprising a fifth predetermined number of rows, the fifthpredetermined number being equal to the first predetermined number, eachof the rows of the vertical error correction code having a sixthpredetermined number of bytes, the sixth predetermined number of bytesbeing obtained by adding the third predetermined number and the fourthpredetermined number, the ECC bloc comprising ECC rows, a number of theECC rows being obtained by adding a number of the rows of the verticalerror correction code and a number obtained by multiplying a number ofthe rows of each of the lateral error correction codes by the number ofthe rows of the vertical error correction codes, each of the ECC rowshaving the sixth predetermined number of bytes, the format data beingused as a unit when recording and reproducing; b) completing recordingof the format data of the ECC block by recording sector data,respectively, in data areas of sector areas of an information recordingmedium, and by recording logical address data, respectively, in the dataareas of the sector areas, the logical address data, respectively,indicating logical positions of the sector areas on tracks of theinformation recording medium, the logical address data being requiredfor scramble processing to be performed on the format data of the ECCblock, the number of the sector data and the number of the sector areasbeing equal to the first predetermined number, the sector datacomprising (i) the sectors, (ii) the lateral error correction codeslaterally attached to the sectors, and (iii) the rows of the verticalerror correction codes, each being attached to a last one of the rows ofeach of the sectors, the information recording medium comprising (i) thetracks, which are concentric or spiral, for recording data, the tracksincluding a plurality of the sector areas, each of the sector areashaving a predetermined track length, and (ii) a defect management dataarea, each of the sector areas comprising one header area and one dataarea, the header area of each of the sector areas being provided suchthat physical address data indicating a physical position of each of thesector areas on the tracks is recorded in advance in the header area,the data area of each of the sector areas being provided such that thedata area is continuous with the header area and predetermined data isrecorded in the data area; c) determining, before the act b), whether ornot the address data recorded in each of the header areas is reproduced;d) determining, before the act b), whether or not an error occurs ineach of the ECC rows, including an associated one of the rows of thelateral error correction code, and being reproduced from an associatedone of the data areas and determining a number of errors in each of theECC rows, thereby determining whether or not a number of the ECC rowshaving a number of error bytes exceeding a seventh predetermined numberis larger than an eighth predetermined number; e) detecting, before theact b), whether or not at least one of the sector areas has a defect,based on results of the acts c) and d), and recording, when detectingthat the at least one of the sector areas has the defect, the physicaladdress data indicating the physical position of the at least one of thesector areas in the defect management data area; and f) performing,during the act b), slipping replacement recording for recording anassociated sector data piece of the sector data on one of the sectorareas following the at least one of the sector areas, instead of on theat least one of the sector areas, recording the physical position of theat least one of the sector areas indicated by the physical address datain the defect management data area, and successively recording othersector data pieces of the sector data on other ones of the sector areas,thereby completing recording of the format data of the ECC block.
 5. Areplacement processing method comprising the acts of:a) producing formatdata of an ECC block comprising (i) a first predetermined number ofsectors, each of the sectors comprising a second predetermined number ofrows, each of the rows having a third predetermined number of bytes,(ii) a plurality of lateral error correction codes, each of the lateralerror comprising a plurality of rows, a number of the rows of thelateral error correction codes being equal to the number of the rows ofeach of the sectors, each of the rows of the lateral error correctioncodes having a fourth predetermined number of bytes, each of the lateralerror correction codes being laterally attached to one of the sectors,respectively, and (iii) a vertical error correction code beingvertically attached to the sectors, the vertical error correction codecomprising a fifth predetermined number of rows, the fifth predeterminednumber being equal to the first predetermined number, each of the rowsof the vertical error correction code having a sixth predeterminednumber of bytes, the sixth predetermined number being obtained by addingthe third predetermined number and the fourth predetermined number, theECC block comprising ECC rows, a number of the ECC rows being obtainedby adding a number of the rows of the vertical error correction code anda number obtained by multiplying a number of the rows of each of thelateral error correction codes by the number of the rows of the verticalerror correction code, each of the ECC rows having the sixthpredetermined number of bytes, the format data being used as a unit whenrecording and reproducing; b) completing recording of the format data ofthe ECC block by recording sector data, respectively, in data areas ofsector areas of a recording area of an information recording medium, andby recording logical address data, respectively, in the data areas ofthe sector areas, the logical address data, respectively, indicatinglogical positions of the sector areas on tracks of the informationrecording medium, the logical address data being required for scrambleprocessing to be performed on the format data of the ECC block, thenumber of the sector data and the number of the sector areas being equalto the first predetermined number, the sector data comprising (i) thesectors, (ii) the lateral error correction codes laterally attached tothe sectors, and (iii) the rows of the vertical error correction code,each being attached to a last one of the rows of each of the sectors,the information recording medium comprising (i) the tracks, which areconcentric or spiral tracks, for recording data, the tracks including aplurality of the sector areas, each of the sector areas having apredetermined track length, and (ii) a defect management data area, eachof the sector areas comprising one header area and one data area, theheader area of each of the sector areas being provided such thatphysical address data indicating a physical position of each of thesector areas on the tracks is recorded in advance in the header area,the data area of each of the sector areas being provided such that thedata area is continuous with the header area and predetermined data isrecorded in the data area; c) determining, before the act b), whether ornot the physical address data recorded in each of the header areas isreproduced; d) determining, before the act b), whether or not an erroroccurs in each of the ECC rows, including an associated one of the rowsof the lateral error correction code, and being reproduced from anassociated one of the data areas and determining a number of errors ineach of the ECC rows, thereby determining whether or not a number of theECC rows having a number of error bytes exceeding a seventhpredetermined number is larger than an eighth predetermined number; e)detecting, before the act b), whether a number the ECC rows having anumber of error bytes exceeding the seventh predetermined number islarger than the eighth predetermined number, by checking the format dataof the ECC block, the ECC block comprising the first predeterminednumber of the sectors of the ECC block reproduced from the data areas;f) detecting, during the act b), whether an error occurred in at leastone of the sector areas, based on results of the acts c) and d) andperforming slipping replacement recording for recording an associatedsector data piece of the sector data and associated physical addressdata on one of the sector areas following the at least one of the sectorareas, and successively recording other sector data pieces of the sectordata on other ones of the sector areas, thereby completing recording ofthe format data of the ECC block; and g) detecting, during the act b),whether at least another one of the sector areas has a defect based onresults of the acts c) through e), and performing linear replacementrecording for recording the sector data on a replacement block areainstead of on the ECC block, the ECC block comprising the sector areasincluding the at least another one of the sector areas, therebycompleting recording of the format data.
 6. A replacement processingmethod comprising the acts of:a) producing format data of an ECC blockcomprising (i) 16 sectors, each of the sectors comprising 12 rows, eachof the rows having 172 bytes, (ii) a plurality of lateral errorcorrection codes, each of the lateral error correction codes comprising12 rows, each of the rows of the lateral error correction codes having10 bytes, and each of the lateral error correction codes being laterallyattached to one of the 16 sectors, respectively, and (iii) a verticalerror correction code comprising 16 rows, each of the rows of thevertical error correction code having 182 bytes, the vertical errorcorrection code being vertically attached to the 16 sectors, the ECCblock comprising 208 ECC rows, each of the ECC rows having 182 bytes,the format data being used as a unit when recording and reproducing; b)completing recording of the format data of the ECC block by recording 16sector data, respectively, in data areas of 16 sector areas of arecording area of an information recording medium, and by recordinglogical address data, respectively, in the data areas of the sectorareas, the logical address data, respectively, indicating logicalpositions of the sector areas on tracks of the information recordingmedium, the logical address data being required for scramble processingto be performed on the format data of the ECC block, the 16 sector data,respectively, comprising (i) the 16 sectors, (ii) the lateral errorcorrection codes laterally attached to the sectors, and (iii) the rowsof the vertical error correction codes, each being attached to a lastone of the 12 rows of each of the 16 sectors, the information recordingmedium comprising (i) the tracks, which are concentric or spiral, forrecording data, including the 16 sector areas each having apredetermined track length, (ii) the recording area comprising part ofthe 16 sector areas, and (iii) a replacement block area comprisinganother part of the 16 sector areas, each of the sector areas comprisingone header area and one data area, the header area of each of the sectorareas being provided such that physical address data indicating aphysical position of each of the sector areas on the tracks is recordedin advance in the header area, the data area of each of the sector areasbeing provided such that the data area is continuous with the headerarea and predetermined data is recorded in the data area; c)determining, before the act b), whether or not the physical address datarecorded in each of the header areas is reproduced; d) determining,before the act b), whether or not an error occurs in each of the ECCrows, including an associated one of the rows of the lateral errorcorrection code, and which is reproduced from an associated one of thedata areas including an associated one of the sectors, and determining anumber of errors in each of the ECC rows, thereby determining whether ornot a number of the ECC rows having a number of error bytes exceeding afirst predetermined number is larger than a second predetermined number;e) detecting, before the act b), whether a number of the ECC rows havinga number of error bytes exceeding the first predetermined number islarger than the second predetermined number, by checking the format dataof the ECC block comprising the 16 sectors of the ECC block reproducedfrom the data areas; f) detecting, during the act b), whether at leastone of the sector areas has a defect based on results of the acts c) andd), and performing slipping replacement recording for recording anassociated sector data piece of the sector data and associated logicaladdress data on one of the sector areas following said at least one ofthe sector areas, and successively recording other sector data pieces ofthe sector data on other ones of the sector areas, thereby completingrecording of the format data of the ECC block; and g) detecting, duringthe act b), whether at least one of the sector areas has the defectbased on results of the act c) through the act e), and performing linearreplacement recording for recording the sector data on the replacementblock area instead of on the ECC block, the ECC block comprising the 16sector areas including the at least one of the sector areas, therebycompleting of recording the format data.
 7. A replacement processingmethod comprising the acts of:a) producing format data of an ECC blockcomprising (i) a first predetermined number of sectors, each of thesectors comprising a second predetermined number of rows, each of therows having a third predetermined number of bytes, (ii) a plurality oflateral error correction codes, each of the lateral error correctioncodes comprising a number of rows being equal to a number of the rows ofeach of the sectors, each of the rows of the lateral error correctioncodes having a fourth predetermined number of bytes, each of the lateralerror correction codes being laterally attached to one of the sectors,respectively, and (iii) a vertical error correction code beingvertically attached to the sectors, and comprising a fifth predeterminednumber of rows, the fifth predetermined number being equal to the firstpredetermined number, each of the rows of the vertical error correctioncode having a sixth predetermined number of bytes, the sixthpredetermined number being obtained by adding the third predeterminednumber and the fourth predetermined number, the ECC block comprising ECCrows, a number of the ECC rows being obtained by adding a number of therows of the vertical error correction code and a number obtained bymultiplying a number of the rows of each of the lateral error correctioncodes by the number of the rows of the vertical error correction code,each of the ECC rows having the sixth predetermined number of bytes, theformat data being used as a unit when recording and reproducing; b)completing recording of the format data of the ECC block by recordingsector data, respectively, in data areas of sector areas of a recordingarea of an information recording medium, and by recording logicaladdress data, respectively, in the data areas of the sector areas, thelogical address data, respectively, indicating logical positions of thesector areas on tracks of the information recording medium, the logicaladdress data being required for scramble processing to be performed onthe format data of the ECC block, the number of the sector data and thenumber of the sector areas being equal to the first predeterminednumber, the sector data respectively comprising (i) the sectors, (ii)the lateral error correction codes laterally attached to the sectors,and (iii) the rows of the vertical error correction code each beingattached to a last one of the rows of each of the sectors, theinformation recording medium comprising (i) the tracks, which areconcentric or spiral, for recording data, the tracks including aplurality of the sector areas, each of the sector areas having apredetermined track length, (ii) the recording area comprising part ofthe plurality of sector areas, (iii) a replacement block area comprisinganother part of the plurality of sector areas, and (iv) a defectmanagement data area, each of the sector areas comprising one headerarea and one data area, the header area of each of the sector areasbeing provided such that physical address data indicating a physicalposition of each of the sector areas on the tracks is recorded inadvance in the header area, the data area of each of the sector areasbeing provided such that the data area is continuous with the headerarea and predetermined data is recorded in the data area; c) recording,before the act b), the physical address data, indicating the physicalposition of at least one of the sector areas determined to be adefective sector area, in advance in the defect management data are; d)determining whether or not each of the sector areas has a defect, basedon the physical address data recorded in the defect management dataarea; e) performing, during the act b), slipping replacement recordingfor recording an associated sector data piece or pieces of the sectordata on one or ones of the sector areas following the sector area or thesector areas determined to have the defect during the act d), andsuccessively recording other sector data pieces of the sector data onother ones of the sector areas, thereby completing recording of theformat data of the ECC block; f) performing, during the act b), linearreplacement recording for recording the sector data and associatedphysical data on a replacement block area instead of on the ECC blockcomprising the sector areas including the sector area or the sectorareas determined to have the defect in the act d), thereby completing ofrecording the format data; and g) recording data indicating that thelinear replacement recording is performed in the act f), in the defectmanagement data area.
 8. A replacement processing method comprising theacts of:a) producing format data of an ECC block comprising (i) a firstpredetermined number of sectors, each of the sectors comprising a secondpredetermined number of rows, each of the rows having a thirdpredetermined number of bytes, (ii) a plurality of lateral errorcorrection codes, each of the lateral error correction codes comprisinga number of rows being equal to a number of the rows of each of thesectors, each of the rows of the lateral error correction codes having afourth predetermined number of bytes, each of the lateral errorcorrection codes being laterally attached to one of the sectors,respectively, and (iii) a vertical error correction code beingvertically attached to the sectors, the vertical error correction codecomprising a fifth predetermined number of rows, the fifth predeterminednumber being equal to the number of sectors, each of the rows of thevertical error correction code having a sixth predetermined number ofbytes, the sixth predetermined number being obtained by adding the thirdpredetermined number and the fourth predetermined number, the ECC blockcomprising ECC rows, a number of the ECC rows being obtained by addingthe number of the rows of the vertical error correction code and anumber obtained by multiplying the number of the rows of each of thelateral error correction codes by the number of the rows of the verticalerror correction code, each of the ECC rows having the sixthpredetermined number of bytes, the format data being used as a unit whenrecording and reproducing; b) completing recording of the format data ofthe ECC block by recording sector data, respectively, in data areas ofsector areas of a recording area of an information recording medium, andby recording logical address data, respectively, in the data areas ofthe sector areas, the logical address data, respectively, indicatinglogical positions of the sector areas on tracks of the informationrecording medium, the logical address data being required for scrambleprocessing to be performed on the format data of the ECC block, thenumber of the sector data and the number of the sector areas being equalto the first predetermined number, the sector data respective comprising(i) the sectors, (ii) the lateral error correction codes laterallyattached to the sectors, and (iii) the rows of the vertical errorcorrection code, each being attached to a last one of the rows of eachof the sectors, the information recording medium comprising (i) thetracks, which are concentric or spiral, for recording data, including aplurality of sector areas, each of the sector areas having apredetermined track length, (ii) the recording area comprising part ofthe plurality of sector areas, (iii) a replacement block area comprisinganother part of the plurality of sector areas, and (iv) a defectmanagement data area, each of the sector areas comprising one headerarea and one data area, the header area of each of the sector areasbeing provided such that physical address data indicating a physicalposition of each of the sector areas on the tracks is recorded inadvance in the header area, the data area of each of the sector areasbeing provided such that the data area is continuous with the headerarea and predetermined data is recorded in the data area; c)determining, before the act b), whether or not the physical address datarecorded in each of the data areas is reproduced; d) determining, beforethe act b), whether or not an error occurs in each of the ECC rowsincluding an associated one of the rows of the lateral error correctioncodes, and each of the ECC rows being reproduced from an associated oneof the data areas including an associated one of the sectors, anddetermining a number of errors in each of the ECC rows, therebydetermining whether or not a number of the ECC rows having a number oferror bytes exceeding a seventh predetermined number is larger than aneighth predetermined number; e) detecting, before the act b), whether anumber of the ECC rows having a number of error bytes exceeding theseventh predetermined number is larger than the eighth predeterminednumber, by checking the format data of the ECC block comprising thefirst predetermined number of the sectors of the ECC block reproducedfrom the data areas; f) detecting, before the act b), whether at leastone of the sector areas has a defect based on results of the acts c) andd), and recording the physical address data indicating the physicalposition of the at least one of the sector areas, in the defectmanagement data area; g) performing, during the act b), slippingreplacement recording for recording an associated sector data piece ofthe sector data on one of the sector areas following the at least one ofthe sector areas, the physical position of the one of the sector areasbeing indicated by the physical address data recorded in the defectmanagement data region in the act f), and successively recording othersector data pieces of the sector data on other ones of the sector areas,thereby completing recording of the format data of the ECC block; h)detecting, during the act b), at least one of the sector areas having adefect, based on results of determination of the acts c) to e) andperforming linear replacement recording for recording the sector dataand associated physical address data on the replacement block areainstead of on the ECC block comprising the first predetermined number ofsector areas including the at least one of the sector areas, therebycompleting recording of the format data; and i) recording dataindicating that the linear replacement recording is performed in the acth), in the defect management data area.